package com.dd.ljzapplication.view;

import android.content.Context;
import android.support.v4.view.MotionEventCompat;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;

/**
 * Created by LiJZ on 2017/1/13.
 */

public class RefreshLayout extends LinearLayout {

	public RefreshLayout(Context context) {
		super(context, null);
	}

	public RefreshLayout(Context context, AttributeSet attrs) {
		super(context, attrs, 0);
	}

	public RefreshLayout(Context context, AttributeSet attrs, int defStyleAttr) {
		super(context, attrs, defStyleAttr);
	}

	@Override
	public boolean dispatchTouchEvent(MotionEvent ev) {
		return super.dispatchTouchEvent(ev);
	}

	@Override
	public boolean onInterceptTouchEvent(MotionEvent ev) {
		return super.onInterceptTouchEvent(ev);
	}

	@Override
	public boolean onTouchEvent(MotionEvent event) {
		int action = event.getAction();
		int actionMasked = MotionEventCompat.getActionMasked(event);
		return super.onTouchEvent(event);
	}
}
